home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-09-06 | 2.1 KB | 52 lines | [TEXT/cSSv] |
- #
- # commsService 2.0 Service Definition File.
- #
- Name=Hawaii University
- Description=Provides access to UHCARL Library System at the University of Hawaii, Manoa. Options include -
- 1. UH Manoa Library Catalog
- 2. UH Manoa Library Journal and Newspaper Titles
- 3. UH Manoa Library Books on Reserve in Sinclair Library
- 4. UH Manoa Library New Titles Lists
- 5. UH Manoa Library News, Hours, and Policies
- 6. UH System Library Catalogs
- 7. Hawaii Libraries, Databases and Indexes
- 8. Periodical Indexes (includes UnCover and ERIC)
- 9. Other Libraries and Databases (includes Govt Documents)
-
- TimeOut=0
- BreakEnabled=No
- PagesToScroll=20
- TerminationString=Aloha!
- ConnectionTool=TGE TCP Tool
- ConnectionTokens=HostName STARMASTER.UHCC.HAWAII.EDU PortNumber 23 ConnectionType TELNET TelnetBinaryMode FALSE TerminalType vt100
- ConnectionMenu=No
- TerminalTool=VT102 Tool
- TerminalTokens=FontSize 9 Width 80 Cursor Underline Online True LocalEcho False AutoRepeat True RepeatControls False AutoWrap False NewLine False Scroll Jump ShowControls False SwapBackspaceDelete False TerminalMode ANSI/VT102 ShowStatusBar False ShowTabRuler False InverseVideo False InsertChar False OriginAtMargin False KeyClick False CursorKey ANSI Keypad Numeric AnswerBack "" KeyboardLocked False ActiveCharSet G0 NRCSet USASCII G0 USASCII G1 USASCII G2 USASCII G3 USASCII
- TerminalMenu=No
- ServiceScripts=on LoginToService
- Global ActiveService, FoundString
- if ExpectFromService(ActiveService, 20, true, true, "enter class") then
- if FoundString = 1 then
- get SendToService(ActiveService, "LIB" & return, "")
- repeat
- if ExpectFromService(ActiveService, 20, true, true, "Please identify your terminal", "Now, press return") then
- if FoundString = 1 then
- get SendToService(ActiveService, "5" & return, "")
- end if
- end if
- if FoundString = 2 then
- get SendToService(ActiveService, "5" & return, "")
- exit repeat
- end if
- end repeat
- if ExpectFromService(ActiveService, 20, true, true, "Press <RETURN> to start session") then
- if FoundString = 1 then
- if SendToService(ActiveService, return, "") then return true
- end if
- end if
- end if
- end if
- return false
- end LoginToService
-
-